REM ********************  OISCali  ******************
REM This is the Script file of OISCali
REM Project: SL203
REM Version: 0.010
REM Release Date: 2011/09/01
REM Author: WeiLee
REM v0.0010: Init Version.
REM *************************************************


190 FOREIGN result=OISC_OISCali_HallDevice()
192 IF result == 0 THEN 300

REM ***FAIL Case***
200 LET lcdprint = "OISCali Fail"
202 SYSTEM ScreenString(80,160,lcdprint)
204 FOREIGN Ret = OneCard_FlgSet(0)
205 FOREIGN KeyReview(0)
206 FOREIGN Ret = OneCard_ErrPrint(lcdprint)
208 END

REM ***PASS Case***
300 LET lcdprint = "OISCali Success"
302 SYSTEM ScreenString(80,160,lcdprint)
304 FOREIGN Ret = OneCard_FlgSet(1)
306 FOREIGN OneCardTest(1)


1000 END
RUN
